package com.city.repository.pub;

import com.city.domain.pub.PubHouseUse;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @deprecation:
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-25 19:24
 */
public interface PubHouseUseRepository extends JpaRepository<PubHouseUse,Integer> {

    @Query(value = "select * from pub_house_use", nativeQuery = true)
    List<PubHouseUse> getAll();
}
